package cn.edu.scau.cmi.ema.dao;

import cn.edu.scau.cmi.ema.base.CmiPagination;
import cn.edu.scau.cmi.ema.domain.Crawlerdetectstatus;
import org.springframework.dao.DataAccessException;

import java.util.Set;

public interface CrawlerdetectstatusDAO extends JpaDao<Crawlerdetectstatus> {

	public Crawlerdetectstatus findCrawlerdetectstatusById(Integer id) throws DataAccessException;

	public Crawlerdetectstatus findCrawlerdetectstatusById(Integer id, int startResult, int maxRows)
			throws DataAccessException;

	public Set<Crawlerdetectstatus> findCrawlerdetectstatusByName(String name) throws DataAccessException;

	public Set<Crawlerdetectstatus> findCrawlerdetectstatusByName(String name, int startResult, int maxRows)
			throws DataAccessException;

	public Set<Crawlerdetectstatus> findCrawlerdetectstatusByNameContaining(String name_1) throws DataAccessException;

	public Set<Crawlerdetectstatus> findCrawlerdetectstatusByNameContaining(String name_1, int startResult, int maxRows)
			throws DataAccessException;

	public Set<Crawlerdetectstatus> findCrawlerdetectstatusByDescription(String description) throws DataAccessException;

	public Set<Crawlerdetectstatus> findCrawlerdetectstatusByDescription(String description, int startResult,
			int maxRows) throws DataAccessException;

	public Set<Crawlerdetectstatus> findCrawlerdetectstatusByDescriptionContaining(String description_1)
			throws DataAccessException;

	public Set<Crawlerdetectstatus> findCrawlerdetectstatusByDescriptionContaining(String description_1,
			int startResult, int maxRows) throws DataAccessException;

	public Crawlerdetectstatus findCrawlerdetectstatusByPrimaryKey(Integer id) throws DataAccessException;

	public Crawlerdetectstatus findCrawlerdetectstatusByPrimaryKey(Integer id, int startResult, int maxRows)
			throws DataAccessException;

	public Set<Crawlerdetectstatus> findCrawlerdetectstatussByIds(Set<Integer> ids) throws DataAccessException;

	public Set<Crawlerdetectstatus> findAllCrawlerdetectstatuss() throws DataAccessException;

	public Set<Crawlerdetectstatus> findAllCrawlerdetectstatuss(int startResult, int maxRows)
			throws DataAccessException;

	public Set<Crawlerdetectstatus> findCrawlerdetectstatusByCompositeProperities(String sql, int startResult,
			int maxRows) throws DataAccessException;

	public Set<Crawlerdetectstatus> findCrawlerdetectstatussByDetachedCriteria(CmiPagination page)
			throws DataAccessException;

	public Crawlerdetectstatus findCrawlerdetectstatusByPhysicalPrimaryKey(String name) throws DataAccessException;

	public Crawlerdetectstatus findCrawlerdetectstatusByPhysicalPrimaryKey(String name, int startResult, int maxRows)
			throws DataAccessException;
}
